/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/26/2010                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define ChiTietPhieuBanHangResult object. This object used to contain data that returned from data layer.
    /// </summary>
    public class ChiTietPhieuBanHangResult
    {
        #region fields
        private Int64 maPhieuBanHang;
        private string maMatHang;
        private int maDonViTinh;
        private int soLuong;
        private double giaBan;
        private string maPhuTung;
        private int maXe;
        private string curencyCode;
        private int order;
        #endregion fields

        #region properties
        public string MaPhuTung
        {
            get { return this.maPhuTung; }
            set { this.maPhuTung = value; }
        }

        public int MaXe
        {
            get { return this.maXe; }
            set { this.maXe = value; }
        }
        public string CurencyCode
        {
            get { return this.curencyCode; }
            set { this.curencyCode = value; }
        }
        /// <summary>
        /// Define MaPhieuBanHang Property.
        /// </summary>
        public Int64 MaPhieuBanHang
        {
            get { return this.maPhieuBanHang; }
            set { this.maPhieuBanHang = value; }
        }
        /// <summary>
        /// Define MaMatHang Property.
        /// </summary>
        public string MaMatHang
        {
            get { return this.maMatHang; }
            set { this.maMatHang = value; }
        }
        /// <summary>
        /// Define MaDonViTinh Property.
        /// </summary>
        public int MaDonViTinh
        {
            get { return this.maDonViTinh; }
            set { this.maDonViTinh = value; }
        }
        /// <summary>
        /// Define SoLuong Property.
        /// </summary>
        public int SoLuong
        {
            get { return this.soLuong; }
            set { this.soLuong = value; }
        }
        /// <summary>
        /// Define GiaBan Property.
        /// </summary>
        public double GiaBan
        {
            get { return this.giaBan; }
            set { this.giaBan = value; }
        }
        /// <summary>
        /// Define Order Property.
        /// </summary>
        public int Order
        {
            get { return this.order; }
            set { this.order = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for ChiTietPhieuBanHangResultResult Object.
        /// </summary>
        public ChiTietPhieuBanHangResult()
        {
            this.maPhieuBanHang = Int64.MinValue;
            this.maMatHang = string.Empty;
            this.maDonViTinh = int.MinValue;
            this.soLuong = int.MinValue;
            this.giaBan = double.MinValue;
            this.order = int.MinValue;
            this.maPhuTung = string.Empty;
            this.maXe = int.MinValue;
            this.curencyCode = string.Empty;
        }
        /// <summary>
        /// Define constructor for ChiTietPhieuBanHangResultResult Object.
        /// </summary>
        public ChiTietPhieuBanHangResult(Int64 maPhieuBanHang,
                    string maMatHang,
                    int maDonViTinh,
                    int soLuong,
                    double giaBan,
                    int order)
        {
            this.maPhieuBanHang = maPhieuBanHang;
            this.maMatHang = maMatHang;
            this.maDonViTinh = maDonViTinh;
            this.soLuong = soLuong;
            this.giaBan = giaBan;
            this.order = order;
        }
        #endregion constructor
    }
}